<?php
interface interface_app {

    public function pre_dispatch();
    public function get_action();
    public function get_pre_action();

    // Return Application ID
    public function get_id();
    public function get_config();
    public function set_paths($paths);
    public function set_path($resource, $path);
    public function get_path($resource);

    public function action($route, $args = array());
    public function controller(interface_action $action, $execute);
    public function model($model, $instantiate, $global);
    public function view($template);
    public function language($directory, $defaultLanguage);
}
